package com.woniuxy.main.service.imp;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.woniuxy.main.mapper.Vi_order_coachMapper;
import com.woniuxy.main.pojo.Vi_order_coach;
import com.woniuxy.main.service.Vi_order_coachService;

import lombok.Data;
@Service
@Transactional
@Data
public class Vi_order_coachServiceImp implements Vi_order_coachService {
	@Resource
	private Vi_order_coachMapper vi_order_coachMapper;
	@Override
	public List<Vi_order_coach> searchMyCoachBySid(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return vi_order_coachMapper.searchMyCoachBySid(map);
	}
	@Override
	public long countMyCoach(int sid) {
		// TODO Auto-generated method stub
		return vi_order_coachMapper.countMyCoach(sid);
	}

}
